<?php
/**
 * Adds thickbox files to the head
 *
 * @package     Visi
 * @subpackage  View Helpers
 * @author      Luke Visinoni <luke.visinoni@gmail.com>
 * @copyright   (c) 2011 Coalition Technologies <joel@coalitiontechnologies.com>
 * @version     $Id$
 */
class Visi_View_Helper_IncludeThickbox extends Zend_View_Helper_Abstract {

    protected static $_included;
    
    public function includeThickbox() {
    
        if (!self::$_included) {
            $this->view->headScript()->appendFile('/js/thickbox.js');
            $this->view->headLink()->appendStylesheet('/css/thickbox.css');
            // this may not be necessary... I think the above view helpers do this automatically
            self::$_included = true;
        }
    
    }

}